package com.elf.zero.config;

import java.util.Set;

/**
 * 配置管理
 * Created by Lidong on 2019/7/15.
 */
public interface ConfigManager {

    String getString(String key, String value);

    Set<String> getStringSet(String key, Set<String> value);

    int getInt(String key, int value);

    long getLong(String key, long value);

    float getFloat(String key, float value);

    boolean getBoolean(String key, boolean value);

    void putString(String key, String value);

    void putStringSet(String key, Set<String> value);

    void putInt(String key, int value);

    void putLong(String key, long value);

    void putFloat(String key, float value);

    void putBoolean(String key, boolean value);

    void remove(String key);
}
